package com.example.route.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("route")
public class Route {
    @TableId
    private String id;
    private String name;
    private String startId;
    private String endId;

    public Route(){}

    public Route(String id,String name,String startId,String endId){
        this.id = id;
        this.name = name;
        this.startId = startId;
        this.endId = endId;
    }
}
